package com.yt.product.models.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author：lianyadong
 * @Date：2025/9/4 15:52
 */

@Data
@ApiModel(value = "ProductCategoryStatusUpdateRequest", description = "产品类别状态更新请求参数")
public class ProductCategoryStatusUpdateRequest implements Serializable {

    @ApiModelProperty(value = "产品类别ID", required = true)
    @NotNull(message = "产品类别ID不能为空")
    private Long id;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;
}
